If you have a secure certificate (SSL) on your WordPress website, you can automatically redirect visitors to the secured (HTTPS) version of your website to make sure their information is protected.
Note: Several plug-ins are available for WordPress that can redirect your URL automatically after you have installed your SSL certificate. For help with WordPress plugins, see
How you redirect traffic depends on the type of hosting you have.
web.config
file and save the file.